﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:ESRI.ArcGIS.Client.Toolkit"
	xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client">

	<Style TargetType="local:OverviewMap">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:OverviewMap">
					<Grid Background="{TemplateBinding Background}" >
                        <esri:Map x:Name="OVMapImage" WrapAround="{Binding Map.WrapAround, RelativeSource={RelativeSource TemplatedParent}}" Margin="0" IsHitTestVisible="False" IsLogoVisible="False" />
						<Grid x:Name="AOI" Width="9" Height="9" Visibility="Collapsed" HorizontalAlignment="Left" VerticalAlignment="Top" >
							<Border Background="#3333FFFF" BorderBrush="Red" BorderThickness="2" Margin="0" >
								<!--Crosshair-->
								<Canvas Width="9" Height="9" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Visible" >
									<Line X1="0" X2="9" Y1="4" Y2="4" Stroke="Red" StrokeThickness="1" />
									<Line X1="4" X2="4" Y1="0" Y2="9" Stroke="Red" StrokeThickness="1" />
								</Canvas>
							</Border>
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

</ResourceDictionary>
